home *** CD-ROM | disk | FTP | other *** search
- Path: newsfeed.pitt.edu!news
- From: kbatch <kbatch@rcn.wpic.pitt.edu>
- Newsgroups: comp.lang.c
- Subject: Using C for real time data collection
- Date: 8 Feb 1996 21:11:35 GMT
- Organization: WPIC Research Computing Network
- Message-ID: <4fdou7$67e@usenet.srv.cis.pitt.edu>
- NNTP-Posting-Host: res163.wpic.pitt.edu
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
-
- I have a data collection program written mostly in C that uses stream
- functions. Problem: someone inadvertantly shut off the computer during
- data collection - all data was lost. The files are left open purposely
- for data review and efficiency. I want to link with commode.obj. Will
- the operating system (DOS) automatically commit the data to disk when
- the stream buffer becomes full? Or, do I have to use a fflush after each
- fwrite?
-
-